-
Notifications
You must be signed in to change notification settings - Fork 277
Minimal STL parser #4657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimal STL parser #4657
Conversation
This looks really nice and clean overall - my only concern is the ambiguity of the acronym "STL." It just seems too easy to confuse with "Standard Template Library," especially when the framework also (partly) supports analysis of C++ code. Is there any chance to choose a different name? |
f76926a
to
96157f2
Compare
96157f2
to
58c2a56
Compare
7c3ae4d
to
138102e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR failed Diffblue compatibility checks (cbmc commit: 138102e).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/113086645
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
This compiles with TG fine. You can disregard the bot message (@MatWise is a "first time contributor" and TG CI does not fetch his fork). ✔️ |
138102e
to
f4cf421
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR failed Diffblue compatibility checks (cbmc commit: f4cf421).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/113109006
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is overall very nicely done!!! Just one request in addition to all the nit-picks below: could you please make sure that all "TODO" comments include sufficient information for someone else to pick this up and work on it?
41c2762
to
f3b4b65
Compare
f3b4b65
to
eb31831
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR failed Diffblue compatibility checks (cbmc commit: f3b4b65).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/113740279
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR failed Diffblue compatibility checks (cbmc commit: eb31831).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/113772968
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
d484911
to
d666742
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR failed Diffblue compatibility checks (cbmc commit: d484911).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/113899257
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR failed Diffblue compatibility checks (cbmc commit: d666742).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/113901720
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
Includes support for simple arithmetic and boolean expressions as well as other Statement List language features, such as networks, functions and function blocks.
Includes a basic Statement List language interface (although without any typechecking yet) as well as modifications to some Makefiles and cbmc_languages.cpp. Use the --show-parse-tree option when parsing a .awl file to see the project's output.
Includes tests for simple integer additions/multiplications, multiple functions/function blocks and for dividing two floats.
d666742
to
2ba1361
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR failed Diffblue compatibility checks (cbmc commit: 2ba1361).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/113911945
Status will be re-evaluated on next push.
Common spurious failures include: the cbmc commit has disappeared in the mean time (e.g. in a force-push); the author is not in the list of contributors (e.g. first-time contributors); compatibility was already broken by an earlier merge.
Codecov Report
@@ Coverage Diff @@
## develop #4657 +/- ##
==========================================
Coverage ? 68.42%
==========================================
Files ? 1269
Lines ? 104649
Branches ? 0
==========================================
Hits ? 71606
Misses ? 33043
Partials ? 0
Continue to review full report at Codecov.
|
Create a basic Siemens STL parser and integrate it into CBMC.